package demoMod.nanaki.patches;

import com.evacipated.cardcrawl.modthespire.lib.SpireInsertPatch;
import com.evacipated.cardcrawl.modthespire.lib.SpirePatch;
import com.megacrit.cardcrawl.actions.GameActionManager;

public class GameActionManagerPatch {
    public static int StropheExitedThisTurn = 0;

    @SpirePatch(clz = GameActionManager.class, method = "getNextAction")
    static public class getNextActionPatch {
        @SpireInsertPatch(rloc = 245)
        static public void Insert2(GameActionManager gam) {
            StropheExitedThisTurn = 0;
        }
    }

    @SpirePatch(clz = GameActionManager.class, method = "clear")
    static public class clearPatch {
        static public void Postfix(GameActionManager gam) {
            StropheExitedThisTurn = 0;
        }
    }
}
